package com.share.demo.zkclient;

import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;

/**
 * author:caifan
 * date:2019/12/16
 */
public class ZookeeperWatcher implements Watcher {
    @Override
    public void process(WatchedEvent event) {
        System.out.println(event.getPath());
    }
}
